package org.example.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.sql.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 充值表
 * </p>
 *
 * @author Joey
 * @since 2021-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysInvest对象", description="充值表")
public class SysInvest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "充值Id")
    @TableId(value = "investId", type = IdType.AUTO)
    private Integer investId;

    @ApiModelProperty(value = "游戏Id")
    @TableField("gameId")
    private Integer gameId;

    @ApiModelProperty(value = "玩家Id")
    @TableField("playId")
    private Integer playId;

    @ApiModelProperty(value = "充值金额")
    @TableField("inestCount")
    private Integer inestCount;

    @ApiModelProperty(value = "充值时间")
    @TableField("inestTime")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date inestTime;

    @ApiModelProperty(value = "是否有福利")
    @TableField("isWelfare")
    private Integer isWelfare;

    @TableField(exist = false)
    private String gameName;
    @TableField(exist = false)
    private String playName;


}
